package com.ruoyi.tree_test.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息测试对象 device_info_test
 * 
 * @author ruoyi
 * @date 2025-08-21
 */
public class DeviceInfoTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    private Long deviceId;

    /** it设备编码 */
    @Excel(name = "it设备编码")
    private String deviceCode;

    /** 地理位置 */
    @Excel(name = "地理位置")
    private Long locationId;

    /** 品牌 */
    private String brandId;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 来源 */
    private String sourceId;

    /** 用途 */
    private Long purposeId;

    /** 资产所属部门ID */
    @Excel(name = "资产所属部门ID")
    private Long deptId;

    /** 责任人编号 */
    @Excel(name = "责任人编号")
    private Long userId;

    /** 资产部门与责任人部门是否一致 */
    @Excel(name = "资产部门与责任人部门是否一致")
    private String isUserDeptDiff;

    /** 联系方式 */
    private String contact;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }

    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }

    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }

    public void setBrandId(String brandId) 
    {
        this.brandId = brandId;
    }

    public String getBrandId() 
    {
        return brandId;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setSourceId(String sourceId) 
    {
        this.sourceId = sourceId;
    }

    public String getSourceId() 
    {
        return sourceId;
    }

    public void setPurposeId(Long purposeId) 
    {
        this.purposeId = purposeId;
    }

    public Long getPurposeId() 
    {
        return purposeId;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setIsUserDeptDiff(String isUserDeptDiff) 
    {
        this.isUserDeptDiff = isUserDeptDiff;
    }

    public String getIsUserDeptDiff() 
    {
        return isUserDeptDiff;
    }

    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("deviceCode", getDeviceCode())
            .append("locationId", getLocationId())
            .append("brandId", getBrandId())
            .append("model", getModel())
            .append("sourceId", getSourceId())
            .append("purposeId", getPurposeId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("isUserDeptDiff", getIsUserDeptDiff())
            .append("contact", getContact())
            .toString();
    }
}
